package com.ys.servers.points.dao;

import com.ys.servers.common.data.UserType;
import com.ys.servers.points.data.UserPointsData;
import io.vertx.core.Future;

/**
 * Created by taotao on 2017/5/10.
 */
public interface UserPointsDataDao {

    public Future<UserPointsData> getUserPointsData(long userId, UserType userType);

    public Future<UserPointsData> addUserPointsData(long userId, UserType userType);

    public Future<UserPointsData> saveUserPointsData(UserPointsData userPointsData);


}
